home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _EF058F87E3C54A439EBBB50F13943E5A < prev    next >
Encoding:
Text File  |  2000-03-27  |  656 b   |  18 lines

  1. // Guy that gets shot gets blown backward!
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/common"
  6.  
  7. parameter entity deadguy // This is the enemy that should fall back
  8. parameter vector falldist // This is the direction and distance that he should go
  9. parameter entity breakbrush // This is the entity (such as a window) that the enemy should bust through
  10.  
  11. // If there is no window, make sure to set the breakbrush parameter to the same as the dying enemy parm
  12. // That way, it will ignore breaking it
  13. if breakbrush != deadguy
  14.     use entity breakbrush
  15. endif
  16.  
  17.     animate entity deadguy performing action STD_SBLOWN_2BK_N_N by moving falldist 
  18.